package tmproject.hlhj.fhp.cartrans.utils

import com.bumptech.glide.Priority
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.bumptech.glide.request.RequestOptions
import tmproject.hlhj.fhp.cartrans.R

object GlideUtil {
    fun loadHeadOption(): RequestOptions {
      return  RequestOptions()
                .diskCacheStrategy(DiskCacheStrategy.ALL)
                .placeholder(R.mipmap.img_tx)
                .priority(Priority.IMMEDIATE)
    }
}